package com.jiyun.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;


    @Data
    @ToString
    @TableName(value = "training_member")
    public class TrainingMember {
        @TableId(value = "id",type = IdType.AUTO)
        private Long id;
        @TableField(value = "training_id")
        private Long trainingId;
        @TableField(value = "member_id")
        private Long memberId;
    }

